<!doctype html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8">
    <meta name="author" content="Fresns" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="Bootstrap 5">
    <title>Fresns 控制面板基础版</title>
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/bootstrap-icons.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    <header>
        <nav class="navbar navbar-light bg-light shadow-sm">
            <div class="container-lg">
                <a class="navbar-brand" href="index.html"><i class="bi bi-gear"></i> 控制面板 <span class="badge bg-secondary fs-9">基础版</span></a>
                <ul class="navbar-nav me-auto d-flex flex-row flex-wrap">
                    <li class="mx-2 mx-lg-3"><a class="nav-link active" href="policies.html">协议设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="sites.html">站点设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="sends.html">发信设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="storage-images.html">存储设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="filters.html">过滤配置</a></li>
                </ul>
                </div>
            </div>
        </nav>
    </header>

    <main>
        <div class="container-lg p-0 p-lg-3">
            <div class="bg-body shadow-sm mt-3 p-4 p-lg-5">
                <form class="form-setting">
                    <div class="row mb-3">
                        <label for="account_policies" class="col-lg-3 col-xl-4 col-form-label text-lg-end">账号协议：</label>
                        <div class="col-lg-8 pt-2">
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="checkbox" id="account_terms_close" value="true" data-bs-toggle="collapse" data-bs-target="#account_terms_setting" aria-expanded="false" aria-controls="account_terms_setting">
                                <label class="form-check-label" for="account_terms_close">服务条款</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="checkbox" id="account_privacy_close" value="true" data-bs-toggle="collapse" data-bs-target="#account_privacy_setting" aria-expanded="false" aria-controls="account_privacy_setting">
                                <label class="form-check-label" for="account_privacy_close">隐私权政策</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="checkbox" id="account_cookie_close" value="true" data-bs-toggle="collapse" data-bs-target="#account_cookie_setting" aria-expanded="false" aria-controls="account_cookie_setting">
                                <label class="form-check-label" for="account_cookie_close">Cookie 政策</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="checkbox" id="account_delete_close" value="true" data-bs-toggle="collapse" data-bs-target="#account_delete_setting" aria-expanded="false" aria-controls="account_delete_setting">
                                <label class="form-check-label" for="account_delete_close">注销说明</label>
                            </div>
                        </div>
                    </div>

                    <div class="row mb-3">
                        <div class="col-lg-3 col-xl-4"></div>
                        <div class="col-lg-8">
                            <!--服务条款-->
                            <div class="form-floating mb-4 collapse" id="account_terms_setting">
                                <textarea class="form-control" placeholder="Leave a comment here" id="account_terms" style="height:200px"></textarea>
                                <div class="form-text"><i class="bi bi-info-circle"></i> 内容支持 Markdown 语法，但是输入框不支持预览，请保存后到前端查看效果</div>
                                <label for="account_terms">服务条款</label>
                            </div>
                            <!--隐私权政策-->
                            <div class="form-floating mb-4 collapse" id="account_privacy_setting">
                                <textarea class="form-control" placeholder="Leave a comment here" id="account_terms" style="height:200px"></textarea>
                                <div class="form-text"><i class="bi bi-info-circle"></i> 内容支持 Markdown 语法，但是输入框不支持预览，请保存后到前端查看效果</div>
                                <label for="account_terms">隐私权政策</label>
                            </div>
                            <!--Cookie 政策-->
                            <div class="form-floating mb-4 collapse" id="account_cookie_setting">
                                <textarea class="form-control" placeholder="Leave a comment here" id="account_terms" style="height:200px"></textarea>
                                <div class="form-text"><i class="bi bi-info-circle"></i> 内容支持 Markdown 语法，但是输入框不支持预览，请保存后到前端查看效果</div>
                                <label for="account_terms">Cookie 政策</label>
                            </div>
                            <!--注销说明-->
                            <div class="form-floating mb-4 collapse" id="account_delete_setting">
                                <textarea class="form-control" placeholder="Leave a comment here" id="account_terms" style="height:200px"></textarea>
                                <div class="form-text"><i class="bi bi-info-circle"></i> 内容支持 Markdown 语法，但是输入框不支持预览，请保存后到前端查看效果</div>
                                <label for="account_terms">注销说明</label>
                            </div>
                        </div>
                    </div>

                    <div class="row mb-3">
                        <label for="delete_account" class="col-lg-3 col-xl-4 col-form-label text-lg-end">注销设置：</label>
                        <div class="col-lg-8 pt-2">
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="radio" name="delete_account" id="delete_account" value="0" data-bs-toggle="collapse" data-bs-target="#delete_account_todo_setting.show" aria-expanded="false" aria-controls="delete_account_todo_setting" checked>
                                <label class="form-check-label" for="delete_account">不启用注销功能</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="radio" name="delete_account" id="delete_account_1" value="1" data-bs-toggle="collapse" data-bs-target="#delete_account_todo_setting:not(.show)" aria-expanded="false" aria-controls="delete_account_todo_setting">
                                <label class="form-check-label" for="delete_account_1">软注销</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="radio" name="delete_account" id="delete_account_2" value="2" data-bs-toggle="collapse" data-bs-target="#delete_account_todo_setting:not(.show)" aria-expanded="false" aria-controls="delete_account_todo_setting">
                                <label class="form-check-label" for="delete_account_2">硬注销</label>
                            </div>
                            <div class="collapse" id="delete_account_todo_setting">
                                <div class="input-group mt-2">
                                    <span class="input-group-text">注销缓冲期</span>
                                    <input type="number" class="form-control" id="delete_account_todo" value="7">
                                    <span class="input-group-text">天</span>
                                </div>
                                <div class="form-text">用户在缓冲期天数内可以撤销注销（恢复账号），到期未撤销将执行注销流程。</div>
                                <div class="form-text"><i class="bi bi-info-circle"></i> 软注销：仅在数据库中标注账号为注销，并不真实删除数据。</div>
                                <div class="form-text"><i class="bi bi-info-circle"></i> 硬注销：物理删除数据，用户资料和发表的内容将会被真实删除。</div>
                            </div>
                        </div>
                    </div>

                    <!--保存按钮-->
                    <div class="row mt-5">
                        <div class="col-lg-3 col-xl-4"></div>
                        <div class="col-lg-8">
                            <button type="submit" class="btn btn-primary">提交保存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </main>

    <footer>
        <div class="copyright text-center">
            <p class="mt-5 mb-5 text-muted">&copy; 2021 Fresns</p>
        </div>
    </footer>

    <script src="../assets/javascript/bootstrap.bundle.min.js"></script>
    <script src="../assets/javascript/admin.js"></script>
</body>

</html>